#ifndef CMATERIAL_H
#define CMATERIAL_H

#include "ZenEngine.h"

class CZenMaterial
{
public:
	static CZenEngine			zen;
	D3DMATERIAL8				m_Material;

public:
	CZenMaterial();
	~CZenMaterial();

	void SetDiffuse(float r, float g, float b);
	void SetAmbient(float r, float g, float b);
	void SetSpecular(float r, float g, float b, float power);
	void SetEmissive(float r, float g, float b);
	D3DCOLORVALUE GetDiffuse();  
	D3DCOLORVALUE GetAmbient();  
	D3DCOLORVALUE GetSpecular();  
	D3DCOLORVALUE GetEmissive();  
	void SetMaterial(D3DMATERIAL8  mat);

	HRESULT Update();
};

#endif
